SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- =============================================
-- Author:		Alhassan
-- Create date: 10 - 9 - 2013
-- Description:	Get gallery of Page
-- =============================================
create PROCEDURE [dbo].[getPageGallery] 
	-- Add the parameters for the stored procedure here
	@PageName nvarchar(max),
	@Type nvarchar(max)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	SELECT * from Gallery where @PageName = location and Type = @Type
END
GO
